package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallCouponDao;
import com.appkubes.mall.core.entity.MallCoupon;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallCouponService extends AbstractBaseService<BaseMallCouponDao, MallCoupon> {

    MallCoupon getOneByEntity(MallCoupon entity);

    List<MallCoupon> selectListByEntity(MallCoupon entity);

    IPage<MallCoupon> selectPageByEntity(IPage<MallCoupon> page);
    IPage<MallCoupon> selectPageByEntity(PageVO pageVO);

    IPage<MallCoupon> selectPageByEntity(MallCoupon entity, IPage<MallCoupon> page);
    IPage<MallCoupon> selectPageByEntity(MallCoupon entity, PageVO pageVO);

    IPage<MallCoupon> selectPageByEntity(MallCoupon entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallCoupon entity);
}
